﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Common.MQ
{
    /// <summary>
    /// 消息队列提供者
    /// </summary>
    public interface IMessageQueueProvider
    {
        /// <summary>
        /// 队列类型
        /// </summary>
        MessageQueueType QueueType { get; }
        /// <summary>
        /// 生产者
        /// </summary>
        IMQProducer Producer { get; }
        /// <summary>
        /// 消费者列表
        /// </summary>
        List<MQConsumerBase> Consumers { get; }
    }
}
